<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>出错</title>
<%
	request.setCharacterEncoding("UTF-8");
	response.setCharacterEncoding("UTF-8");
	String message = request.getParameter("message");
	String jump = request.getParameter("jump");
%>
<script language="javascript" type="text/javascript">

	window.setTimeout("move()",5000);
	var ch=window.setInterval("change()",1000);
	function move()
	{
		clearInterval(ch);
		var jump = "<%=jump%>";
		window.open(jump,"_self");
	}
	
	function change(){
		$("sp").innerText=parseInt($("sp").innerText)-1;
	}
	function $(id)
	{
		return document.getElementById(id);
	}
</script>
</head>

<body style="background-color">
	<div style="width: 100%; font-size:80px" align="center">出错啦！</div>
    <br/><br/>
    <div style="width: 100%; font-size:40px" align="center"><%=message %></div>
    <br/><br/>
    <div style="width: 100%;" align="center"><img src="../image/error.jpg" width="316" height="242" /></div>
    <br/><br/>
    <div style="width: 100%; font-size:40px" align="center"><span id="sp">5</span>秒后跳转</div>
</body>
</html>